-- ============================================= -- Author: <Author,,Name> -- Create date: <Create Date,,> -- Description: <Description,,> -- ============================================= CREATEPROCEDURE[dbo].[BAEImisDuesUpdatePrice] -- Add the parameters for the stored procedure here @Idasvarchar(10), @ProductCodeasvarchar(31), @Priceasmoney
AS BEGIN -- SET NOCOUNT ON added to prevent extra result sets from -- interfering with SELECT statements. SETNOCOUNTON;
-- Insert statements for procedure here UPDATESubscriptions SETBILL_AMOUNT=@Price,BALANCE=@Price,BEGIN_DATE=null, PAID_THRU=null,FIRST_SUBSCRIBED=null WHEREID=@IdandPRODUCT_CODE=@ProductCode;